package com.fr.report.script;

import com.fr.base.ColumnRow;

public class CurrentValueNameSpace
  implements NameSpace
{
  private Object currentValue;

  public CurrentValueNameSpace(Object paramObject)
  {
    this.currentValue = paramObject;
  }

  public Function getMethod(Object paramObject, Calculator paramCalculator)
  {
    return null;
  }

  public Object getVariable(Object paramObject, Calculator paramCalculator)
  {
    if ("$$$".equals(paramObject))
      return this.currentValue;
    return null;
  }

  public Object getCellElementAttribute(ColumnRow paramColumnRow, Object paramObject, Calculator paramCalculator)
  {
    return null;
  }
}